<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" errorPage="~/Error.aspx" Inherits="SecurityLinkUp.Admin.Default" Title="Admin Pages" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="server">

<script type="text/javascript">
    function ShowForm(url, btn)
    {
        var frame = document.getElementById("ContentFrame");
        var button = document.getElementById(btn);
        
        frame.src = url;
        
    }
</script>

    <div id="MenuBar">
    <table>
    <tr>
    <td><a href="#" id="CommunityBtn" class="MenuBtn" onclick="ShowForm('CommunityAdmin.aspx', 'CommunityBtn')">Community Admin</a></td>
    <td><a href="#" id="ChapterBtn" class="MenuBtn" onclick="ShowForm('ChapterAdmin.aspx', 'ChapterBtn')">Chapter Admin</a></td>
    <td><a href="#" id="UsersBtn" class="MenuBtn" onclick="ShowForm('Users.aspx', 'UsersBtn')">Users Admin</a></td>
    <td><a href="#" id="MeetingsBtn" class="MenuBtn" onclick="ShowForm('Meetings.aspx', 'MeetingsBtn')">Meetings Admin</a></td>
    </tr>
    </table>
    </div>
    
    <iframe id="ContentFrame" src="CommunityAdmin.aspx" style="width: 990px; height: 500px;" />    
</asp:Content>
